import * as types from './mutation-types'
 const mutations = {
    [types.SET_SINGER](state,singer) {//将常量作为一个函数名
        state.singer = singer
    }
}
export default mutations